package com.gljx.web.service;

import com.gljx.web.Entity.SubjectOneResultentry;
import com.gljx.web.Entity.User;

import java.util.List;

public interface SubjectOneResultentryService {
	/**
	 * 根据父类ID查找科目一考试结果明细
	 * @param parentid
	 * @return
	 */
	List<SubjectOneResultentry> selSubjectOneResultentryByParentId(String parentid,String studentName);

	List<SubjectOneResultentry> selSubjectOneResultentryByParentIdWithcfexmaresult(String parentid,String studentName,String cfexmaresult);
	/**
	 * 根据父类ID删除科目一考试结果明细
	 * @param parentid
	 * @return
	 */
	int deleteSubjectOneResultentryByParentid(String parentid,User user,String fbizdate,String fnumber);
	/**
	 * 根据父类ID增加科目一考试结果明细
	 * @param subjectOneResultentry
	 * @return
	 */
	int addSubjectOneResult(SubjectOneResultentry subjectOneResultentry);
}
